package org.wizehack.mri.test;

import java.util.ArrayList;
import java.util.List;

public class BasicTestSuite implements TestSuite {

	ArrayList<TestCase> tcList;
	
	public BasicTestSuite(){
		tcList = new ArrayList<TestCase>();
	}
	
	@Override
	public void add(TestCase testCase) {
		tcList.add(testCase);
		
	}

	@Override
	public TestCase get(int index) {
		return tcList.get(index);
	}

	@Override
	public int size() {
		return tcList.size();
	}

	@Override
	public boolean contains(TestCase testCase) {
		return tcList.contains(testCase);
	}

	@Override
	public List<TestCase> toList() {
		return tcList;
	}

	@Override
	public void clear() {
		tcList.clear();
	}

	@Override
	public boolean remove(TestCase testCase) {
		return tcList.remove(testCase);
	}

}
